package com.example.sys.org.quartz;

import com.example.sys.job.annotation.JobScope;
import com.example.sys.org.service.SysDeptService;
import com.example.sys.org.service.SysUserService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


/****
 *
 * 把钉钉组织架构信息同步过来。
 */
@JobScope(name = "钉钉同步组织架构", cron = "*/30 * * * * ?", desc = "从钉钉同步组织架构到本系统")
@Service
public class DingTalkOrgSyncJob implements Job {

    @Resource
    private SysUserService sysUserService;

    @Resource
    private SysDeptService sysDeptService;

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {

    }
}
